package it.low.game.server.util;

import java.util.Date;

public class ServerLogManager {

	public static void logMsg(String message){
		writeSystemOutLog(message);
	}
	
	public static void logWar(String warning){
		writeSystemOutLog("WARN "+warning);
	}
	
	public static void logErr(String error, Exception e){
		writeSystemOutLog("ERROR "+error);
		if(e!=null){
			//e.printStackTrace();
		}
	}
	
	private static void writeSystemOutLog(String message){
		System.out.println(new Date()+" - "+message);
	}
	
}
